﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DuckEntities;

namespace Duck.Web
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IDuckTestingService" in both code and config file together.
    [ServiceContract]  
    public interface IDuckTestingService
    {
        [OperationContract]        
        List<DUCK> GetAllDucks();

        [OperationContract]
        void AddNewDuck(DUCK duck);

        [OperationContract]
        void DeleteDuck(DUCK duck);

        [OperationContract]
        void UpdateDuck(DUCK duck);

        [OperationContract]
        List<RAFT> GetAllRafts();

        [OperationContract]
        void AddNewRaft(RAFT raft);

        [OperationContract]
        void DeleteRaft(RAFT raft);

        [OperationContract]
        void UpdateRaft(RAFT raft);

        [OperationContract]
        List<DUCK> GetAllDucksRaft(RAFT raft);

        [OperationContract]
        List<RAFT> GetAllDuckRafts(DUCK duck);

        [OperationContract]
        void AddDuckToRaft(DUCKRAFT duckraft);

        [OperationContract]
        void DeleteDuckFromRaft(DUCK duck, RAFT raft);
    }
}
